package com.marry.daodaomanage.infrastructure.service;

import com.marry.daodaomanage.ui.controller.WechatMemberController;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.security.oauth2.common.DefaultOAuth2AccessToken;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author mal
 * @date 2022-11-23 13:55
 */
@FeignClient("daodao-schedule")
public interface WechatMemberService {


    @GetMapping("/wechat-member/page")
    DefaultOAuth2AccessToken getPageList(@RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize);



}
